import VueRouter from 'vue-router'
import Vue from 'vue'
import Login from "../view/Login";

Vue.use(VueRouter);

const route = [
    {
        path: '/',
        name: 'Login',
        component: Login
    }
];

const router = new VueRouter({
    route,
    mode:'history'
});

export default router